package cn.iocoder.yudao.module.social.controller.admin.content.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 内容 Response VO")
@Data
public class ContentRespVO {

    @Schema(description = "内容编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;

    @Schema(description = "作者编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long authorId;

    @Schema(description = "容器编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long containerId;

    @Schema(description = "星球编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long planetId;

    @Schema(description = "标题", example = "这是一个标题")
    private String title;

    @Schema(description = "内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "这是内容正文")
    private String body;

    @Schema(description = "媒体文件列表", example = "[\"http://example.com/image1.jpg\", \"http://example.com/video1.mp4\"]")
    private List<String> media;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime updateTime;

}
